<?php
use yii\web\View;

/* @var $this yii\web\View */
$this->title = '锐锋堂刀剑网-龙泉刀剑知名网上商城、正品行货、刀剑批发商、拒绝盗版';
$this->registerJsFile('/js/fastclick.js', [
    'position' => View::POS_END
]);
$this->registerJsFile('/js/mui.min.js', [
    'position' => View::POS_END
]);
$this->registerJsFile('/js/hmt.js', [
    'position' => View::POS_END
]);
$this->registerJsFile('/js/swiper/swiper.jquery.min.js', [
    'position' => View::POS_END
]);
$this->registerJsFile('/js/global.js', [
    'position' => View::POS_END
]);
$this->registerJs("  var banner = new Swiper('.banner',{
            autoplay: 5000,
            pagination : '.swiper-pagination',
            paginationClickable: true,
            lazyLoading : true,
            loop:true
        });

         mui('.pop-schwrap .sch-input').input();
        var deceleration = mui.os.ios?0.003:0.0009;
         mui('.pop-schwrap .scroll-wrap').scroll({
                bounce: true,
                indicators: true,
                deceleration:deceleration
        });
        $('.top-sch-box .fdj,.top-sch-box .sch-txt,.pop-schwrap .btn-back').on('click',function () {
            $('html,body').toggleClass('holding');
            $('.pop-schwrap').toggleClass('on');
            if($('.pop-schwrap').hasClass('on')) {;
                $('.pop-schwrap .sch-input').focus();
            }
        });");
$this->registerCssFile('/js/swiper/swiper.min.css');
$this->registerMetaTag([
    'name' => 'keywords',
    'content' => '锐锋堂刀剑网、刀剑商城、龙泉宝剑、武士刀、刀剑定制、斩马刀、刀剑批发、东洋刀、影视刀剑'
]);
$column= Yii::$app->view->params['column'];
?>
<div class="banner swiper-container">
            <div class="swiper-wrapper">
                <div class="swiper-slide"><a href="javascript:void(0)"><img class="swiper-lazy" data-src="/uploads/banner/url/2017-01-09/ban1.jpg" alt=""></a></div>
                <div class="swiper-slide"><a href="javascript:void(0)"><img class="swiper-lazy" data-src="/uploads/banner/url/2017-01-09/ban1.jpg" alt=""></a></div>
                <div class="swiper-slide"><a href="javascript:void(0)"><img class="swiper-lazy" data-src="/uploads/banner/url/2017-01-09/ban1.jpg" alt=""></a></div>
                <div class="swiper-slide"><a href="javascript:void(0)"><img class="swiper-lazy" data-src="/uploads/banner/url/2017-01-09/ban1.jpg" alt=""></a></div>
            </div>
            <div class="swiper-pagination"></div>
        </div>
<!--
        <div class="home-nav ui-box">
            <div class="ui-flex flex-justify-sb">
                <div><a href=""><img src="/img/homenav1.png" alt="" /></a></div>
                <div><a href=""><img src="/img/homenav2.png" alt="" /></a></div>
                <div><a href=""><img src="/img/homenav3.png" alt="" /></a></div>
                <div><a href=""><img src="/img/homenav4.png" alt="" /></a></div>
            </div>
        </div>
 -->
        <div class="home-qnav ui-box">
            <div class="ui-flex flex-justify-sb">
                <div><a href="/site/about.html"><img src="/img/qnav1.png" class="ico" /><span class="name">关于我们</span></a></div>
                <div><a href="/site/contact.html"><img src="/img/qnav2.png" class="ico" /><span class="name">联系方式</span></a></div>
                <div><a href="###"><img src="/img/qnav3.png" class="ico" /><span class="name">我的喜欢</span></a></div>
                <div><a href="###"><img src="/img/qnav4.png" class="ico" /><span class="name">猜你喜欢</span></a></div>
            </div>
        </div>
<!--
        <div class="home-newgoods ui-box">
            <img class="home-imgtit" src="/img/hometit1.jpg" alt="" />
            <div class="list-type1 plist-puzzle">
                <a class="b" href=""><img src="/uploads/t1.jpg" alt="" /></a>
                <div class="s ui-flex-vt flex-justify-sb">
                    <a class="box" href=""><img src="/uploads/t2.jpg" alt="" /></a>
                    <a class="box" href=""><img src="/uploads/t2.jpg" alt="" /></a>
                    <a class="box" href=""><img src="/uploads/t2.jpg" alt="" /></a>
                </div>
            </div>
            <img class="home-imgtit" src="/img/hometit2.jpg" alt="" />
            <div class="list-type2 ui-flex flex-justify-sb">
                <a class="box" href=""><img class="figure" src="/uploads/t3.jpg" alt="" /><span class="tit">情侣穿搭</span></a>
                <a class="box" href=""><img class="figure" src="/uploads/t3.jpg" alt="" /><span class="tit">约会美搭</span></a>
                <a class="box" href=""><img class="figure" src="/uploads/t3.jpg" alt="" /><span class="tit">全部新款</span></a>
            </div>
        </div>
  -->
        <div class="home-fashion ui-box ui-border-t">
           <!-- <img class="home-imgtit" src="/img/hometit3.jpg" alt="" /> 
            <a href=""><img class="db margin-b-s" src="/uploads/t4.jpg" width="100%" alt="" /></a>-->
            <div class="fastion-plist mui-row">
            <?php if(!empty($data)):?>
            <?php foreach($data as $val):?>
                <div class="mui-col-xs-4">
                    <a class="item">
                        <img src="<?=$val['logo']?>" alt="" class="figure" /><span class="tit"><?=$val['name']?></span>
                    </a>
                </div>
             <?php endforeach;?>
             <?php endif;?>
            </div>
        </div>